package com.dxj1992.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxj1992.entity.AdminPermissions;
import com.dxj1992.entity.AdminUsers;
import com.dxj1992.entity.Ztree;
import org.apache.catalina.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2022-03-31
 */
public interface IAdminPermissionsService extends IService<AdminPermissions> {

    List<Ztree> menuTreeData(Integer roleId);

    List<AdminPermissions> selectMenu(AdminUsers user);

    List<AdminPermissions> selectMenuByUser(AdminUsers user);
}
